srcdir:=@srcdir@
top_srcdir:=@top_srcdir@

ENGINES:=libpcap linux-bpf linux-ebpf bpf-lua pflua
DATA:=$(addsuffix .csv, $(ENGINES))
TITLE:="Millions of packets/second, 60MB of ICMP pings"

# So that we regenerate the graph when the charting library changes.
CHART=$(top_srcdir)/charting.scm $(top_srcdir)/charting/draw.scm

ping-flood.png: $(DATA) $(CHART)
	../../env $(srcdir)/../plot-data.scm $(TITLE) $@ $(DATA)
